package com.punai.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.punai.common.core.domain.entity.SysPnDictionary;
import org.apache.ibatis.annotations.Param;

public interface SysPnDictionaryMapper extends BaseMapper<SysPnDictionary> {


    Integer getMaxSorting(@Param("pid") String pid, @Param("companyId") Long companyId);

    String getNextCode(@Param("pid") String pid,@Param("pCode") String pCode, @Param("companyId")  Long companyId);
}
